/*
 * @Author: keledd
 * @Date: 2021-10-29 14:38:40
 * @LastEditors: keledd
 * @LastEditTime: 2021-10-29 14:41:33
 * @FilePath: /blog/blog/src/router/index.ts
 */
import { RouteRecordRaw, createRouter, createWebHistory } from "vue-router";
 
const routes: RouteRecordRaw[] = [
  {
    path: "/",
    name: "Home",
    component: import("../views/index.vue"),
  },
];
 
const router = createRouter({
  history: createWebHistory(),
  routes,
});
 
export default router;